Q3Quaternion_SetRotateZ
You can use theQ3Quaternion_SetRotateZ
function to configure a quaternion that rotates objects around the z axis.
TQ3Quaternion *Q3Quaternion_SetRotateZ ( TQ3Quaternion *quaternion, float angle);
quaternion
- A quaternion.
angle
- The desired angle of rotation around the z coordinate axis, in radians.
DESCRIPTION
TheQ3Quaternion_SetRotateZ
function returns, as its function result and in thequaternion
parameter, a quaternion that rotates an object by the angleangle
around the z axis.